<script setup lang="ts">
import LeftMenu from "./views/LeftMenu.vue"
import {useRouter} from "vue-router"

import {ref,onMounted} from "vue"

const router = useRouter();
onMounted(()=>{
    //router.push("/editor");
});
</script>

<template>    
    <div class="main">
        <LeftMenu></LeftMenu>
        <RouterView />
    </div>
</template>

<style scoped>
header {
    width: 100%;
    height: 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-shrink: 1;
}
.title {
    margin-left: 2rem;
    font-size: 1.3rem;
}
.main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
}

</style>